package com.njmaomao.gj.pyot.service.domain;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.njmaomao.gj.pyot.common.bean.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel(value = "订单支付请求")
public class OrderPaymentRequest extends BaseRequest {
	
	private static final long serialVersionUID = -4888398415135540416L;
	
	@ApiModelProperty(value = "订单编号", required = true)
    @NotEmpty
	private String orderCode;

    @ApiModelProperty(value = "支付类型：1-货币；2-积分", required = true)
    @NotNull
    @Min(1)
	private Integer paymentType;

    @ApiModelProperty(value = "支付方式：1-货到付款；2-微信；3-支付宝", required = true)
    @NotNull
    @Min(1)
	private Integer paymentMethod;

    @ApiModelProperty(value = "外部支付单号")
    @NotEmpty
	private String externalPaymentCode;

}
